package com.zzf.装饰模式.impl;

import com.zzf.装饰模式.Decorator;
import com.zzf.装饰模式.Person;

public class SingDecorator extends Decorator {

    public SingDecorator(Person person) {
        super(person);
    }

    @Override
    public void work() {
        System.out.print("爱唱歌的");
        this.person.work();
    }
}
